package com.lijie.bs_recruit.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李杰
 * @since 2021-03-15
 */

@ApiModel(value="Hr对象", description="")
public class Hr implements Serializable {


    @ApiModelProperty(value = "hrid")
    @TableId(value = "hrId", type = IdType.AUTO)
    private Integer hrId;

    @ApiModelProperty(value = "工作公司id")
    @TableField("companyId")
    private Integer companyId;

    @TableField("companyName")
    private String companyName;

    @ApiModelProperty(value = "hr登录名")
    @TableField("hruserName")
    private String hruserName;

    @ApiModelProperty(value = "hr密码")
    @TableField("hrPassword")
    private String hrPassword;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "电话")
    @TableField("hrTelephone")
    private String hrTelephone;

    @ApiModelProperty(value = "是否停用")
    @TableField("hrisDelete")
    private Integer hrisDelete;

    @ApiModelProperty(value = "注册时间")
    @TableField("hrCreatetime")
    private Date hrCreatetime;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Integer getHrId() {
        return hrId;
    }

    public void setHrId(Integer hrId) {
        this.hrId = hrId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getHruserName() {
        return hruserName;
    }

    public void setHruserName(String hruserName) {
        this.hruserName = hruserName;
    }

    public String getHrPassword() {
        return hrPassword;
    }

    public void setHrPassword(String hrPassword) {
        this.hrPassword = hrPassword;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getHrTelephone() {
        return hrTelephone;
    }

    public void setHrTelephone(String hrTelephone) {
        this.hrTelephone = hrTelephone;
    }

    public Integer getHrisDelete() {
        return hrisDelete;
    }

    public void setHrisDelete(Integer hrisDelete) {
        this.hrisDelete = hrisDelete;
    }

    public Date getHrCreatetime() {
        return hrCreatetime;
    }

    public void setHrCreatetime(Date hrCreatetime) {
        this.hrCreatetime = hrCreatetime;
    }

    @Override
    public String toString() {
        return "Hr{" +
                "hrId=" + hrId +
                ", companyId=" + companyId +
                ", hruserName='" + hruserName + '\'' +
                ", hrPassword='" + hrPassword + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", hrTelephone='" + hrTelephone + '\'' +
                ", hrisDelete=" + hrisDelete +
                ", hrCreatetime=" + hrCreatetime +
                '}';
    }
}
